package com.android.music.prolyric.database;



public class LyricDTO {
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getSongName() {
		return songName;
	}
	public void setSongName(String songName) {
		this.songName = songName;
	}
	public String getSinger() {
		return singer;
	}
	public void setSinger(String singer) {
		this.singer = singer;
	}
	public String getLyricEn() {
		return lyricEn;
	}
	public void setLyricEn(String lyricEn) {
		this.lyricEn = lyricEn;
	}
	public String getLyricVi() {
		return lyricVi;
	}
	public void setLyricVi(String lyricVi) {
		this.lyricVi = lyricVi;
	}

	
	/*
	 * chuan hoa ten bai hat, loi dich
	 * */
	public void getStandarLyric()
	{
		//them ki tu ' 
		this.songName = this.songName.replaceAll("'", "''").trim();
		this.singer = this.singer.replaceAll("'", "''").trim();
			
	}
	
	public LyricDTO(String songname, String singer, String lyricEn, String lyricVi) {
		this.songName = songname;
		this.singer = singer;
		this.lyricEn = lyricEn;
		this.lyricVi = lyricVi;
	}
	public LyricDTO() {
		// TODO Auto-generated constructor stub
	}
	private int id;
	private String songName;
	private String singer;
	private String lyricEn;
	private String lyricVi;
	

}
